package com.wectrls.common.utils;

import java.util.UUID;

/**
 * @author chenjian
 * @Package
 * @Description:
 * @date 2019/6/20 1:25
 */
public class UUIDUtils {

    public static String str_16() {
        long millis = System.currentTimeMillis();
        return "def" + millis;
    }

    public static String uuid_32() {
        String uuid_16 = UUID.randomUUID().toString().replace("-", "");
        return uuid_16;
    }

    public static String uuid_45() {
        String uuid_45 = uuid_32() + System.currentTimeMillis();
        return uuid_45;
    }

    public static String uuid_64() {
        String uuid_64 = uuid_32() + uuid_32();
        return uuid_64;
    }
}
